/**
 * Copyright UOB Ltd. All rights reserved. (2011)
 *
 * This software is the confidential and proprietary information
 * of United Overseas Bank Ltd. ("Confidential Information"). 
 * You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the contract
 * agreement you entered into with UOB.
 * 
 * File Name  : BaseMethodInterceptor.java
 * Created By : Adelwin Handoyo
 * Created At : Apr 14, 2011 5:54:51 PM
 *
 * Change History
 * Author Name     Date        Details
 * =============== =========== =================================
 * Adelwin Handoyo Apr 14, 2011 Initial Draft
 */
package com.uobgroup.cmt.base.advice;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.apache.log4j.Logger;

public class BaseMethodInterceptor implements MethodInterceptor {
	protected static Logger logger = Logger.getLogger(BaseMethodInterceptor.class); 

	/**
	 * minimum implementation
	 * should be overriden to implement ematching transformation logic reversal
	 */
	@Override
	public Object invoke(MethodInvocation methodInvocation) throws Throwable {
		logger.debug("Interceptor started");
		return methodInvocation.proceed();
	}

}
